﻿@model IEnumerable<StudentManage.Models.StudentInfo>
@{
    ViewBag.Title = "StudentXS";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

        <div class="am-cf am-padding am-padding-bottom-0">
            <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">表格</strong> / <small>Table</small></div>
        </div>
        <hr>
        <div class="am-g">
            <div class="am-u-sm-12 am-u-md-6">
                <div class="am-btn-toolbar">
                    <div class="am-btn-group am-btn-group-xs">
                        <button type="button" class="am-btn am-btn-default"><span class="am-icon-plus"></span> 新增</button>
                        <button type="button" class="am-btn am-btn-default"><span class="am-icon-trash-o"></span> 删除</button>
                    </div>
                </div>
            </div>
            <div class="am-u-sm-12 am-u-md-3">
                <div class="am-form-group">
                    <select data-am-selected="{btnSize: 'sm'}">
                        <option value="option0">请选择你的专业</option>
                        <option value="option1">计算机软件技术</option>
                        <option value="option2">管理工程系</option>
                        <option value="option3">会计</option>
                        <option value="option4">农业经济系</option>
                        <option value="option5">机械工程及自动化专业</option>
                        <option value="option6">机械电子工程</option>
                    </select>
                </div>
            </div>
            <div class="am-u-sm-12 am-u-md-3">
                <div class="am-input-group am-input-group-sm">
                    <input type="text" class="am-form-field">
                    <span class="am-input-group-btn">
                        <button class="am-btn am-btn-default" type="button">搜索</button>
                    </span>
                </div>
            </div>
        </div>
        <div class="am-g">
            <div class="am-u-sm-12">
                <form class="am-form">
                    <table class="am-table am-table-striped am-table-hover table-main">
                        <thead>
                            <tr>
                                <th class="table-check"><input type="checkbox" /></th>
                                <th class="table-name">姓名</th>
                                <th class="table-xb">性别</th>
                                <th class="table-dy">是否为党员</th>
                                <th class="table-title">学号</th>
                                <th class="table-type">专业</th>
                                <th class="table-author am-hide-sm-only">班级</th>
                                <th class="table-date am-hide-sm-only">入学时间</th>
                                <th class="table-set">操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            @{
                                foreach (var item in Model)
                                {
                                    <tr>
                                        <td><input type="checkbox" /></td>
                                        <td>@item.学生姓名</td>
                                        <td>男</td>
                                        <td>是</td>
                                        <td><a href="#">1430108112</a></td>
                                        <td>计算机</td>
                                        <td class="am-hide-sm-only">软件技术6班</td>
                                        <td class="am-hide-sm-only">2014年9月4日 7:28:47</td>
                                        <td>
                                            <div class="am-btn-toolbar">
                                                <div class="am-btn-group am-btn-group-xs">
                                                    <button class="am-btn am-btn-default am-btn-xs am-text-secondary"><span class="am-icon-pencil-square-o"></span> 编辑</button>
                                                    <button class="am-btn am-btn-default am-btn-xs am-text-danger am-hide-sm-only"><span class="am-icon-trash-o"></span> 删除</button>
                                                </div>
                                            </div>
                                        </td>
                                    </tr>
                                }
                            }
                            

                        </tbody>
                    </table>
                    <div class="am-cf">
                        共 1 条记录
                        <div class="am-fr">
                            <ul class="am-pagination">
                                <li class="am-disabled"><a href="#">«</a></li>
                                <li class="am-active"><a href="#">1</a></li>
                                <li><a href="#">2</a></li>
                                <li><a href="#">3</a></li>
                                <li><a href="#">4</a></li>
                                <li><a href="#">5</a></li>
                                <li><a href="#">»</a></li>
                            </ul>
                        </div>
                    </div>
                    <hr />
                    @*<p>注：.....</p>*@
                </form>
            </div>
        </div>
    